package com.hkyl.hospital.service;

import com.hkyl.hospital.entity.Patient;

import java.util.List;

/**
 * @author sjh
 * @date 2023/07/12 14:38:15
 */
public interface PatientService {

    int insert(Patient patient);

    int delete(Integer patientId , Integer status);

    int update(Patient patient);

    List<Patient> select(Integer pageNumber, Integer pageSize);

    List<Patient> search(String patientName, String patientCard, Integer pageNumber, Integer pageSize);

    Patient login(Patient patient);

    Patient regisger(Patient patient);

    int resetpwd(Integer patientId);
}
